package com.project.mapper;

import com.project.bean.StudentBean;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;

public interface IStudentMapper {
    @Insert("insert into t_student(s_name,s_tel,s_birthday) values(#{name},#{tel},#{birthday})")
    public void add(StudentBean student);
    @Delete("delete from t_student where pk_id=#{id}")
    public void del(int id);
}
